/*
 * Created by JFormDesigner on Thu May 26 23:05:17 CST 2022
 */

package jw3.c7.view;

import javax.swing.*;
import java.awt.*;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;

/**
 * @author Brainrain
 */
public class Home extends JFrame {
    public Home() {
        initComponents();
        this.setVisible(true);
        this.setSize(1000,600);
    }

    private void menuItem4MouseClicked(MouseEvent e) {
        // TODO add your code here
    }

    private void initComponents() {
        // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
        menuBar1 = new JMenuBar();
        menu6 = new JMenu();
        menuItem5 = new JMenuItem();
        menuItem6 = new JMenuItem();
        menuItem7 = new JMenuItem();
        menuItem8 = new JMenuItem();
        menu2 = new JMenu();
        menuItem4 = new JMenuItem();
        menuItem9 = new JMenuItem();
        menu3 = new JMenu();
        menuItem10 = new JMenuItem();
        menuItem11 = new JMenuItem();
        menuItem12 = new JMenuItem();
        menuItem16 = new JMenuItem();
        menuItem17 = new JMenuItem();
        menu4 = new JMenu();
        menuItem13 = new JMenuItem();
        menuItem14 = new JMenuItem();
        menuItem15 = new JMenuItem();
        menu5 = new JMenu();
        menuItem18 = new JMenuItem();
        menuItem19 = new JMenuItem();
        menuItem20 = new JMenuItem();

        //======== this ========
        Container contentPane = getContentPane();
        contentPane.setLayout(null);

        //======== menuBar1 ========
        {
            menuBar1.setAlignmentY(0.47619057F);
            menuBar1.setFont(new Font("Microsoft YaHei UI", Font.PLAIN, 12));

            //======== menu6 ========
            {
                menu6.setText("\u4e0d\u52a8\u4ea7\u7ba1\u7406");
                menu6.setFont(new Font("Microsoft YaHei UI", Font.PLAIN, 20));

                //---- menuItem5 ----
                menuItem5.setText("\u589e\u52a0");
                menuItem5.setFont(new Font("Microsoft YaHei UI", Font.PLAIN, 20));
                menu6.add(menuItem5);

                //---- menuItem6 ----
                menuItem6.setText("\u51cf\u5c11");
                menuItem6.setFont(new Font("Microsoft YaHei UI", Font.PLAIN, 20));
                menu6.add(menuItem6);

                //---- menuItem7 ----
                menuItem7.setText("\u501f\u8fd8");
                menuItem7.setFont(new Font("Microsoft YaHei UI", Font.PLAIN, 20));
                menu6.add(menuItem7);

                //---- menuItem8 ----
                menuItem8.setText("\u7ef4\u4fee");
                menuItem8.setFont(new Font("Microsoft YaHei UI", Font.PLAIN, 20));
                menu6.add(menuItem8);
            }
            menuBar1.add(menu6);

            //======== menu2 ========
            {
                menu2.setText("\u4e0d\u52a8\u4ea7\u6298\u65e7");
                menu2.setFont(new Font("Microsoft YaHei UI", Font.PLAIN, 20));

                //---- menuItem4 ----
                menuItem4.setText("\u8ba1\u7b97\u6708\u5ea6\u6298\u65e7");
                menuItem4.setFont(new Font("Microsoft YaHei UI", Font.PLAIN, 20));
                menuItem4.addMouseListener(new MouseAdapter() {
                    @Override
                    public void mouseClicked(MouseEvent e) {
                        menuItem4MouseClicked(e);
                    }
                });
                menu2.add(menuItem4);

                //---- menuItem9 ----
                menuItem9.setText("\u6c47\u603b\u6708\u5ea6\u6298\u65e7");
                menuItem9.setFont(new Font("Microsoft YaHei UI", Font.PLAIN, 20));
                menu2.add(menuItem9);
            }
            menuBar1.add(menu2);

            //======== menu3 ========
            {
                menu3.setText("\u62a5\u8868");
                menu3.setFont(new Font("Microsoft YaHei UI", Font.PLAIN, 20));

                //---- menuItem10 ----
                menuItem10.setText("\u4e0d\u52a8\u4ea7\u51cf\u5c11\u7edf\u8ba1");
                menuItem10.setFont(new Font("Microsoft YaHei UI", Font.PLAIN, 20));
                menu3.add(menuItem10);

                //---- menuItem11 ----
                menuItem11.setText("\u4e0d\u52a8\u4ea7\u589e\u52a0\u7edf\u8ba1");
                menuItem11.setFont(new Font("Microsoft YaHei UI", Font.PLAIN, 20));
                menu3.add(menuItem11);

                //---- menuItem12 ----
                menuItem12.setText("\u4e0d\u52a8\u4ea7\u501f\u8fd8\u7edf\u8ba1");
                menuItem12.setFont(new Font("Microsoft YaHei UI", Font.PLAIN, 20));
                menu3.add(menuItem12);

                //---- menuItem16 ----
                menuItem16.setText("\u4e0d\u52a8\u4ea7\u5206\u7c7b");
                menuItem16.setFont(new Font("Microsoft YaHei UI", Font.PLAIN, 20));
                menu3.add(menuItem16);

                //---- menuItem17 ----
                menuItem17.setText("\u4ed3\u5e93\u8bbe\u7f6e");
                menuItem17.setFont(new Font("Microsoft YaHei UI", Font.PLAIN, 20));
                menu3.add(menuItem17);
            }
            menuBar1.add(menu3);

            //======== menu4 ========
            {
                menu4.setText("\u7cfb\u7edf\u7ba1\u7406");
                menu4.setFont(new Font("Microsoft YaHei UI", Font.PLAIN, 20));

                //---- menuItem13 ----
                menuItem13.setText("\u90e8\u95e8\u89d2\u8272");
                menuItem13.setFont(new Font("Microsoft YaHei UI", Font.PLAIN, 20));
                menu4.add(menuItem13);

                //---- menuItem14 ----
                menuItem14.setText("\u89d2\u8272\u8bbe\u7f6e");
                menuItem14.setFont(new Font("Microsoft YaHei UI", Font.PLAIN, 20));
                menu4.add(menuItem14);

                //---- menuItem15 ----
                menuItem15.setText("\u7528\u6237\u8bbe\u7f6e");
                menuItem15.setFont(new Font("Microsoft YaHei UI", Font.PLAIN, 20));
                menu4.add(menuItem15);
            }
            menuBar1.add(menu4);

            //======== menu5 ========
            {
                menu5.setText("\u9000\u51fa");
                menu5.setFont(new Font("Microsoft YaHei UI", Font.PLAIN, 20));

                //---- menuItem18 ----
                menuItem18.setText("\u6ce8\u9500");
                menuItem18.setFont(new Font("Microsoft YaHei UI", Font.PLAIN, 20));
                menu5.add(menuItem18);

                //---- menuItem19 ----
                menuItem19.setText("\u91cd\u65b0\u767b\u5f55");
                menuItem19.setFont(new Font("Microsoft YaHei UI", Font.PLAIN, 20));
                menu5.add(menuItem19);

                //---- menuItem20 ----
                menuItem20.setText("\u9000\u51fa");
                menuItem20.setFont(new Font("Microsoft YaHei UI", Font.PLAIN, 20));
                menu5.add(menuItem20);
            }
            menuBar1.add(menu5);
        }
        setJMenuBar(menuBar1);

        {
            // compute preferred size
            Dimension preferredSize = new Dimension();
            for(int i = 0; i < contentPane.getComponentCount(); i++) {
                Rectangle bounds = contentPane.getComponent(i).getBounds();
                preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
                preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
            }
            Insets insets = contentPane.getInsets();
            preferredSize.width += insets.right;
            preferredSize.height += insets.bottom;
            contentPane.setMinimumSize(preferredSize);
            contentPane.setPreferredSize(preferredSize);
        }
        pack();
        setLocationRelativeTo(getOwner());
        // JFormDesigner - End of component initialization  //GEN-END:initComponents
    }

    // JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables
    private JMenuBar menuBar1;
    private JMenu menu6;
    private JMenuItem menuItem5;
    private JMenuItem menuItem6;
    private JMenuItem menuItem7;
    private JMenuItem menuItem8;
    private JMenu menu2;
    private JMenuItem menuItem4;
    private JMenuItem menuItem9;
    private JMenu menu3;
    private JMenuItem menuItem10;
    private JMenuItem menuItem11;
    private JMenuItem menuItem12;
    private JMenuItem menuItem16;
    private JMenuItem menuItem17;
    private JMenu menu4;
    private JMenuItem menuItem13;
    private JMenuItem menuItem14;
    private JMenuItem menuItem15;
    private JMenu menu5;
    private JMenuItem menuItem18;
    private JMenuItem menuItem19;
    private JMenuItem menuItem20;
    // JFormDesigner - End of variables declaration  //GEN-END:variables
}
